Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.x] Use new TrustProxies middleware #5662

Merged
merged 1 commit into from
Aug 10, 2021
Merged

[8.x] Use new TrustProxies middleware #5662

merged 1 commit into from
Aug 10, 2021

Conversation

driesvints
Copy link
Member

@driesvints driesvints commented Aug 10, 2021

This uses the new TrustProxies middleware from laravel/framework#38295. This way we can safely drop the dependency on fideloper/proxy.

I wasn't 100% sure to directly use the middleware in the Kernel instead of overwriting it like now. The current property values are exactly the same as the parent class. But you could argue that this is an easier starting point for people wanting to overwrite them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants